package com.visionblue.business.ship.model.repository.db

import androidx.room.Embedded
import androidx.room.Relation

/**
 * @author: xlh
 * @date: 2020-06-05 10:15 AM
 * @desc:
 */
data class RecordAndOrderRelation(
    @Embedded val cachedOrder: CachedOrder,
    @Relation(
        parentColumn = "id",
        entityColumn = "cached_order_id"
    )
    val records: List<CollectionRecord>
)